package com.atguigu.java.ai.langchain4j.assistant;

import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

@AiService(
        wiringMode = EXPLICIT,
        chatModel = "qwenChatModel",
        tools = "transferTools"
)
public interface MobileBankAgent {

    @SystemMessage(fromResource = "xiaozhi-mobile-banking.transfer.txt")
    String chat( @UserMessage  String message);
}
